import { request } from "../utils/request";

export const createOrderAPI = (data: any) => {
  return request({
    url: "/member/order",
    method: "post",
    data,
  });
};

export const getOrderAPI = (id: string) => {
  return request({
    url:  `/member/order/${id}`,
    method: "get",
  });
};
